Check for two key values from serialized array